/*
 * uc_dipsw.h
 *
 *  Created on: Feb 8, 2013
 *      Author: bfakhri
 */

#ifndef UC_DIPSW_H_
#define UC_DIPSW_H_


#endif /* UC_DIPSW_H_ */

//Calls gpio_port_dd_get_pin_state() to return the state of the pin connected to p_switch.
int uc_dipsw_get_state(int p_switch);

//Calls gpio_port_dd_init() to initialize switches 1, 2, 3, and 4.
void uc_dipsw_init(); 